
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/common/taglibs.jsp"%>

<c:out value="${current_location}" escapeXml="false" />

<table class="tb_input" cellspacing="1" width="100%">
    <html:form action="/business/syserrordealinfo/saveSysErrorDeal" method="post" styleId="sysErrorDealForm" enctype="multipart/form-data" onsubmit="return validateSysErrorDealForm(this)">

        <tr style="display:none">
            <td colspan="100">
                <html:hidden property="nid"/>
                <html:hidden property="suploadPath"/>
                 <html:hidden property="sfileFullName"/>
                  <html:hidden property="sfileSuffix"/>
                 
                
            </td>
        </tr>

        <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.sfileName"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="sfileName" styleId="sfileName"/>
                <html:errors property="sfileName"/>
            </td>
        </tr>

 <c:if test="${sysErrorDealForm.strispic == '1'}">
       <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.upload"/>
            </td>

            <td class="td_detail" width="85%">
              
                <html:file property="file" styleId="file"/>
                <html:errors property="file"/>
           
                 
            </td>
        </tr>
        
             </c:if>
          <tr>
            <td noWrap class="td_title" width="15%">
               
            </td>

            <td class="td_detail" width="85%">

                <c:if test="${operationParam == 'edit'}">
                    <c:if test="${sysErrorDealForm.strispic == '0'}">
                 <html:textarea property="filecontent" style="width:100%;" rows="20"></html:textarea>
                 <html:errors property="filecontent"/>
                 </c:if>
                
                </c:if>
                 
            </td>
        </tr>
        
        
       
        
       <%--  <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.sfileSuffix"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="sfileSuffix" styleId="sfileSuffix"/>
                <html:errors property="sfileSuffix"/>
            </td>
        </tr>

        <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.suploadPath"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="suploadPath" styleId="suploadPath"/>
                <html:errors property="suploadPath"/>
            </td>
        </tr>
 --%>
       <%--  <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.dcreateTime"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="dcreateTime" styleId="dcreateTime" readonly="true"/>
                <html:img page="/images/calendar.gif" styleClass="icon" onclick="javascript:popUpDefaultCalendar(this, sysErrorDealForm.dcreateTime);" />

                <html:errors property="dcreateTime"/>
            </td>
        </tr>

        <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.dupdateTime"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="dupdateTime" styleId="dupdateTime" readonly="true"/>
                <html:img page="/images/calendar.gif" styleClass="icon" onclick="javascript:popUpDefaultCalendar(this, sysErrorDealForm.dupdateTime);" />

                <html:errors property="dupdateTime"/>
            </td>
        </tr>

        <tr>
            <td noWrap class="td_title" width="15%">
                <stl:label styleClass="desc" key="sysErrorDealForm.nstatus"/>
            </td>

            <td class="td_detail" width="85%">

                <html:text property="nstatus" styleId="nstatus"/>
                <html:errors property="nstatus"/>
            </td>
        </tr> --%>

        <tr style="display:none">
            <td colspan="100">
                <html:hidden property="${sysErrorDealForm.wtSysFunctionId}" value="1" />
                <html:hidden property="${sysErrorDealForm.wtSysScopeId}" value="1" />
                <html:hidden property="${sysErrorDealForm.wtSysScopeId2}" value="1" />
                <html:hidden property="perPageSize" />
                <html:hidden property="pageNumber" />
                <html:hidden property="totalCount" />
            </td>
        </tr>

        <tr align="right">
            <td colspan="100" noWrap class="td_input">
                <html:submit styleClass="button" property="method.save" onclick="bCancel=false">
                    <fmt:message key="button.save"/>
                </html:submit>

                <c:if test="${operationParam == 'edit'}">
                    <html:submit styleClass="button" property="method.delete" onclick="bCancel=true; return confirmDelete('sysErrorDeal')">
                        <fmt:message key="button.delete"/>
                    </html:submit>
                </c:if>

                <html:cancel styleClass="button" onclick="bCancel=true">
                    <fmt:message key="button.cancel"/>
                </html:cancel>
            </td>
        </tr>
    </html:form>
</table>

<script type="text/javascript">
    Form.focusFirstElement($('sysErrorDealForm'));
    highlightFormElements();
</script>

<html:javascript formName="sysErrorDealForm" cdata="false" dynamicJavascript="true" staticJavascript="false"/>
<script type="text/javascript" src="<html:rewrite page="/scripts/validator.jsp"/>"></script>